<!--
 * @Description: 参数表格
 * @Author: lwx
 * @Date: 2022-12-02 12:54:30
 * @LastEditors: lwx
 * @LastEditTime: 2023-04-25 14:05:55
-->
<template>
   <el-table
     border
     stripe
     height="340px"
     :data="paramsTable"
     :header-cell-style="{background:'#FAFAFA!important'}"
     :cell-style="tableCellStyle">
     <el-table-column
       label="参数名">
       <template slot-scope="scope">{{scope.row.name}}</template>
     </el-table-column>
     <el-table-column
        label="参数值">
        <template slot-scope="scope">{{scope.row.value}}</template>
      </el-table-column>
    </el-table>
</template>

<script>
export default {
  data () {
    return {
     
    }
  },
  props:{
    paramsTable:Array
  },
  computed:{
 
  },
  methods:{
     tableCellStyle({row, column, rowIndex, columnIndex}){
     if(columnIndex===0){
      return 'font-weight:600;color:#909399;'
     }
    },
  }

}
</script>
<style lang='scss' scoped>

</style>